package cn.my.framework.example;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


/**
 * Created by zhangl_lc on 2017/8/4.
 */
@Controller
@RequestMapping("/example/user")
public class UserExampleController {
    Logger logger = LoggerFactory.getLogger(UserExampleController.class);

    @RequestMapping("/menus")
    @ResponseBody
    public String listMenus(){
        return TestData.menuDataJson();
    }
}
